import request from '@/utils/request.js'


// 获得验证码
export const getSmsApi=(data)=>{
    return request({
        method:'post',
        url:'/sms/send',
        data,
    })
}

// 登陆
export const getLoginApi=(data)=>{
    return request({
        method:'post',
        url:'/sms/login',
        data,
    })
}